package org.tote.command;

//see http://www.easyjquery.com/detect-get-clients-ip-address-country-using-javascript-php/
public class IPInfoJsonCommand {

	private String ip;
	private String continentCode;
	private String continentName;
	private String countryCode2;
	private String COUNTRY;
	private String countryCode3;
	private String countryName;
	private String regionName;
	private String cityName;
	private String cityLatitude;
	private String cityLongitude;
	private String countryLatitude;
	private String countryLongitude;
	private String localTimeZone;
	private String localTime;

	public String getIP() {
		return ip;
	}

	public void setIP(String ip) {
		this.ip = ip;
	}

	public String getContinentCode() {
		return continentCode;
	}

	public void setContinentCode(String continentCode) {
		this.continentCode = continentCode;
	}

	public String getContinentName() {
		return continentName;
	}

	public void setContinentName(String continentName) {
		this.continentName = continentName;
	}

	public String getCountryCode2() {
		return countryCode2;
	}

	public void setCountryCode2(String countryCode2) {
		this.countryCode2 = countryCode2;
	}

	public String getCOUNTRY() {
		return COUNTRY;
	}

	public void setCOUNTRY(String cOUNTRY) {
		COUNTRY = cOUNTRY;
	}

	public String getCountryCode3() {
		return countryCode3;
	}

	public void setCountryCode3(String countryCode3) {
		this.countryCode3 = countryCode3;
	}

	public String getCountryName() {
		return countryName;
	}

	public void setCountryName(String countryName) {
		this.countryName = countryName;
	}

	public String getRegionName() {
		return regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getCityLatitude() {
		return cityLatitude;
	}

	public void setCityLatitude(String cityLatitude) {
		this.cityLatitude = cityLatitude;
	}

	public String getCityLongitude() {
		return cityLongitude;
	}

	public void setCityLongitude(String cityLongitude) {
		this.cityLongitude = cityLongitude;
	}

	public String getCountryLatitude() {
		return countryLatitude;
	}

	public void setCountryLatitude(String countryLatitude) {
		this.countryLatitude = countryLatitude;
	}

	public String getCountryLongitude() {
		return countryLongitude;
	}

	public void setCountryLongitude(String countryLongitude) {
		this.countryLongitude = countryLongitude;
	}

	public String getLocalTimeZone() {
		return localTimeZone;
	}

	public void setLocalTimeZone(String localTimeZone) {
		this.localTimeZone = localTimeZone;
	}

	public String getLocalTime() {
		return localTime;
	}

	public void setLocalTime(String localTime) {
		this.localTime = localTime;
	}

	@Override
	public String toString() {
		return "IPInfoJsonCommand [ip=" + ip + ", countryName=" + countryName + ", cityName="
				+ cityName + "]";
	}

}
